**this .do file generates a variable that identifies all 327 Militarized Interstate Disputes 
**(MIDs) that were coded as disputes because one of the states launched a formal protest of 
**another state's actions.  No other militarized incidents occurred in these disputes.
**
**
**For more details on these cases, and to cite this .do file, please refer to:
**Gibler, Douglas M. and Erin K. Little, Forthcoming. Heterogeneity in the Militarized 
**Interstate Disputes (MIDs), 1816-2001: What Fatal MIDs Cannot Fix. Political Science
**Research and Methods. Available at http://dmgibler.people.ua.edu/fighting-for-civilians.html

gen caseID=cwmid
**change the variable name cwmid to <variable name> that links dispute number in the dataset

gen protestonly=0

recode protestonly 0=1 if caseID==216
recode protestonly 0=1 if caseID==237
recode protestonly 0=1 if caseID==336
recode protestonly 0=1 if caseID==350
recode protestonly 0=1 if caseID==398
recode protestonly 0=1 if caseID==421
recode protestonly 0=1 if caseID==602
recode protestonly 0=1 if caseID==634
recode protestonly 0=1 if caseID==1017
recode protestonly 0=1 if caseID==1043
recode protestonly 0=1 if caseID==1069
recode protestonly 0=1 if caseID==1094
recode protestonly 0=1 if caseID==1158
recode protestonly 0=1 if caseID==1326
recode protestonly 0=1 if caseID==1334
recode protestonly 0=1 if caseID==1346
recode protestonly 0=1 if caseID==1347
recode protestonly 0=1 if caseID==1369
recode protestonly 0=1 if caseID==1448
recode protestonly 0=1 if caseID==1462
recode protestonly 0=1 if caseID==1481
recode protestonly 0=1 if caseID==1496
recode protestonly 0=1 if caseID==1524
recode protestonly 0=1 if caseID==1542
recode protestonly 0=1 if caseID==1547
recode protestonly 0=1 if caseID==1548
recode protestonly 0=1 if caseID==1594
recode protestonly 0=1 if caseID==1625
recode protestonly 0=1 if caseID==1654
recode protestonly 0=1 if caseID==1656
recode protestonly 0=1 if caseID==1661
recode protestonly 0=1 if caseID==1693
recode protestonly 0=1 if caseID==1702
recode protestonly 0=1 if caseID==1720
recode protestonly 0=1 if caseID==1724
recode protestonly 0=1 if caseID==1732
recode protestonly 0=1 if caseID==1746
recode protestonly 0=1 if caseID==1749
recode protestonly 0=1 if caseID==1772
recode protestonly 0=1 if caseID==1799
recode protestonly 0=1 if caseID==1803
recode protestonly 0=1 if caseID==1805
recode protestonly 0=1 if caseID==2036
recode protestonly 0=1 if caseID==2037
recode protestonly 0=1 if caseID==2144
recode protestonly 0=1 if caseID==2174
recode protestonly 0=1 if caseID==2209
recode protestonly 0=1 if caseID==2222
recode protestonly 0=1 if caseID==2228
recode protestonly 0=1 if caseID==2230
recode protestonly 0=1 if caseID==2303
recode protestonly 0=1 if caseID==2306
recode protestonly 0=1 if caseID==2307
recode protestonly 0=1 if caseID==2310
recode protestonly 0=1 if caseID==2318
recode protestonly 0=1 if caseID==2322
recode protestonly 0=1 if caseID==2326
recode protestonly 0=1 if caseID==2338
recode protestonly 0=1 if caseID==2343
recode protestonly 0=1 if caseID==2352
recode protestonly 0=1 if caseID==2541
recode protestonly 0=1 if caseID==2543
recode protestonly 0=1 if caseID==2544
recode protestonly 0=1 if caseID==2545
recode protestonly 0=1 if caseID==2547
recode protestonly 0=1 if caseID==2548
recode protestonly 0=1 if caseID==2549
recode protestonly 0=1 if caseID==2551
recode protestonly 0=1 if caseID==2552
recode protestonly 0=1 if caseID==2553
recode protestonly 0=1 if caseID==2554
recode protestonly 0=1 if caseID==2555
recode protestonly 0=1 if caseID==2557
recode protestonly 0=1 if caseID==2560
recode protestonly 0=1 if caseID==2561
recode protestonly 0=1 if caseID==2565
recode protestonly 0=1 if caseID==2568
recode protestonly 0=1 if caseID==2570
recode protestonly 0=1 if caseID==2574
recode protestonly 0=1 if caseID==2575
recode protestonly 0=1 if caseID==2579
recode protestonly 0=1 if caseID==2584
recode protestonly 0=1 if caseID==2585
recode protestonly 0=1 if caseID==2588
recode protestonly 0=1 if caseID==2593
recode protestonly 0=1 if caseID==2594
recode protestonly 0=1 if caseID==2596
recode protestonly 0=1 if caseID==2597
recode protestonly 0=1 if caseID==2600
recode protestonly 0=1 if caseID==2601
recode protestonly 0=1 if caseID==2615
recode protestonly 0=1 if caseID==2645
recode protestonly 0=1 if caseID==2710
recode protestonly 0=1 if caseID==2734
recode protestonly 0=1 if caseID==2737
recode protestonly 0=1 if caseID==2745
recode protestonly 0=1 if caseID==2746
recode protestonly 0=1 if caseID==2747
recode protestonly 0=1 if caseID==2748
recode protestonly 0=1 if caseID==2751
recode protestonly 0=1 if caseID==2752
recode protestonly 0=1 if caseID==2758
recode protestonly 0=1 if caseID==2759
recode protestonly 0=1 if caseID==2762
recode protestonly 0=1 if caseID==2763
recode protestonly 0=1 if caseID==2764
recode protestonly 0=1 if caseID==2765
recode protestonly 0=1 if caseID==2767
recode protestonly 0=1 if caseID==2769
recode protestonly 0=1 if caseID==2772
recode protestonly 0=1 if caseID==2773
recode protestonly 0=1 if caseID==2774
recode protestonly 0=1 if caseID==2777
recode protestonly 0=1 if caseID==2784
recode protestonly 0=1 if caseID==2785
recode protestonly 0=1 if caseID==2789
recode protestonly 0=1 if caseID==2790
recode protestonly 0=1 if caseID==2791
recode protestonly 0=1 if caseID==2792
recode protestonly 0=1 if caseID==2793
recode protestonly 0=1 if caseID==2794
recode protestonly 0=1 if caseID==2796
recode protestonly 0=1 if caseID==2798
recode protestonly 0=1 if caseID==2800
recode protestonly 0=1 if caseID==2803
recode protestonly 0=1 if caseID==2808
recode protestonly 0=1 if caseID==2811
recode protestonly 0=1 if caseID==2815
recode protestonly 0=1 if caseID==2817
recode protestonly 0=1 if caseID==2818
recode protestonly 0=1 if caseID==2819
recode protestonly 0=1 if caseID==2820
recode protestonly 0=1 if caseID==2821
recode protestonly 0=1 if caseID==2822
recode protestonly 0=1 if caseID==2823
recode protestonly 0=1 if caseID==2824
recode protestonly 0=1 if caseID==2825
recode protestonly 0=1 if caseID==2826
recode protestonly 0=1 if caseID==2827
recode protestonly 0=1 if caseID==2828
recode protestonly 0=1 if caseID==2832
recode protestonly 0=1 if caseID==2833
recode protestonly 0=1 if caseID==2841
recode protestonly 0=1 if caseID==2845
recode protestonly 0=1 if caseID==2847
recode protestonly 0=1 if caseID==2852
recode protestonly 0=1 if caseID==2853
recode protestonly 0=1 if caseID==2858
recode protestonly 0=1 if caseID==2859
recode protestonly 0=1 if caseID==2861
recode protestonly 0=1 if caseID==2862
recode protestonly 0=1 if caseID==2863
recode protestonly 0=1 if caseID==2873
recode protestonly 0=1 if caseID==2877
recode protestonly 0=1 if caseID==2884
recode protestonly 0=1 if caseID==2888
recode protestonly 0=1 if caseID==2894
recode protestonly 0=1 if caseID==2901
recode protestonly 0=1 if caseID==2904
recode protestonly 0=1 if caseID==2906
recode protestonly 0=1 if caseID==2913
recode protestonly 0=1 if caseID==2914
recode protestonly 0=1 if caseID==2919
recode protestonly 0=1 if caseID==2920
recode protestonly 0=1 if caseID==2922
recode protestonly 0=1 if caseID==2923
recode protestonly 0=1 if caseID==2925
recode protestonly 0=1 if caseID==2926
recode protestonly 0=1 if caseID==2927
recode protestonly 0=1 if caseID==2932
recode protestonly 0=1 if caseID==2933
recode protestonly 0=1 if caseID==2934
recode protestonly 0=1 if caseID==2936
recode protestonly 0=1 if caseID==2940
recode protestonly 0=1 if caseID==2942
recode protestonly 0=1 if caseID==2946
recode protestonly 0=1 if caseID==2948
recode protestonly 0=1 if caseID==2949
recode protestonly 0=1 if caseID==2951
recode protestonly 0=1 if caseID==2955
recode protestonly 0=1 if caseID==2956
recode protestonly 0=1 if caseID==2958
recode protestonly 0=1 if caseID==2962
recode protestonly 0=1 if caseID==2963
recode protestonly 0=1 if caseID==2965
recode protestonly 0=1 if caseID==2967
recode protestonly 0=1 if caseID==2968
recode protestonly 0=1 if caseID==2969
recode protestonly 0=1 if caseID==2974
recode protestonly 0=1 if caseID==2975
recode protestonly 0=1 if caseID==2991
recode protestonly 0=1 if caseID==2992
recode protestonly 0=1 if caseID==2993
recode protestonly 0=1 if caseID==3002
recode protestonly 0=1 if caseID==3005
recode protestonly 0=1 if caseID==3010
recode protestonly 0=1 if caseID==3029
recode protestonly 0=1 if caseID==3030
recode protestonly 0=1 if caseID==3033
recode protestonly 0=1 if caseID==3034
recode protestonly 0=1 if caseID==3035
recode protestonly 0=1 if caseID==3036
recode protestonly 0=1 if caseID==3038
recode protestonly 0=1 if caseID==3040
recode protestonly 0=1 if caseID==3042
recode protestonly 0=1 if caseID==3043
recode protestonly 0=1 if caseID==3045
recode protestonly 0=1 if caseID==3046
recode protestonly 0=1 if caseID==3048
recode protestonly 0=1 if caseID==3049
recode protestonly 0=1 if caseID==3052
recode protestonly 0=1 if caseID==3053
recode protestonly 0=1 if caseID==3057
recode protestonly 0=1 if caseID==3063
recode protestonly 0=1 if caseID==3068
recode protestonly 0=1 if caseID==3074
recode protestonly 0=1 if caseID==3078
recode protestonly 0=1 if caseID==3079
recode protestonly 0=1 if caseID==3083
recode protestonly 0=1 if caseID==3095
recode protestonly 0=1 if caseID==3100
recode protestonly 0=1 if caseID==3105
recode protestonly 0=1 if caseID==3111
recode protestonly 0=1 if caseID==3122
recode protestonly 0=1 if caseID==3159
recode protestonly 0=1 if caseID==3160
recode protestonly 0=1 if caseID==3167
recode protestonly 0=1 if caseID==3169
recode protestonly 0=1 if caseID==3179
recode protestonly 0=1 if caseID==3184
recode protestonly 0=1 if caseID==3196
recode protestonly 0=1 if caseID==3203
recode protestonly 0=1 if caseID==3207
recode protestonly 0=1 if caseID==3208
recode protestonly 0=1 if caseID==3211
recode protestonly 0=1 if caseID==3214
recode protestonly 0=1 if caseID==3216
recode protestonly 0=1 if caseID==3219
recode protestonly 0=1 if caseID==3221
recode protestonly 0=1 if caseID==3225
recode protestonly 0=1 if caseID==3230
recode protestonly 0=1 if caseID==3242
recode protestonly 0=1 if caseID==3243
recode protestonly 0=1 if caseID==3244
recode protestonly 0=1 if caseID==3300
recode protestonly 0=1 if caseID==3341
recode protestonly 0=1 if caseID==3349
recode protestonly 0=1 if caseID==3351
recode protestonly 0=1 if caseID==3421
recode protestonly 0=1 if caseID==3422
recode protestonly 0=1 if caseID==3565
recode protestonly 0=1 if caseID==3572
recode protestonly 0=1 if caseID==3573
recode protestonly 0=1 if caseID==3602
recode protestonly 0=1 if caseID==3603
recode protestonly 0=1 if caseID==3607
recode protestonly 0=1 if caseID==3612
recode protestonly 0=1 if caseID==3621
recode protestonly 0=1 if caseID==3700
recode protestonly 0=1 if caseID==3704
recode protestonly 0=1 if caseID==3708
recode protestonly 0=1 if caseID==3709
recode protestonly 0=1 if caseID==3713
recode protestonly 0=1 if caseID==3719
recode protestonly 0=1 if caseID==3720
recode protestonly 0=1 if caseID==3721
recode protestonly 0=1 if caseID==3722
recode protestonly 0=1 if caseID==3723
recode protestonly 0=1 if caseID==3800
recode protestonly 0=1 if caseID==3805
recode protestonly 0=1 if caseID==3807
recode protestonly 0=1 if caseID==3812
recode protestonly 0=1 if caseID==3834
recode protestonly 0=1 if caseID==3835
recode protestonly 0=1 if caseID==3852
recode protestonly 0=1 if caseID==3854
recode protestonly 0=1 if caseID==3855
recode protestonly 0=1 if caseID==3860
recode protestonly 0=1 if caseID==3863
recode protestonly 0=1 if caseID==3864
recode protestonly 0=1 if caseID==3873
recode protestonly 0=1 if caseID==3875
recode protestonly 0=1 if caseID==3881
recode protestonly 0=1 if caseID==3882
recode protestonly 0=1 if caseID==3883
recode protestonly 0=1 if caseID==3885
recode protestonly 0=1 if caseID==3887
recode protestonly 0=1 if caseID==3908
recode protestonly 0=1 if caseID==3917
recode protestonly 0=1 if caseID==3921
recode protestonly 0=1 if caseID==3922
recode protestonly 0=1 if caseID==3955
recode protestonly 0=1 if caseID==3961
recode protestonly 0=1 if caseID==3972
recode protestonly 0=1 if caseID==4019
recode protestonly 0=1 if caseID==4020
recode protestonly 0=1 if caseID==4035
recode protestonly 0=1 if caseID==4050
recode protestonly 0=1 if caseID==4052
recode protestonly 0=1 if caseID==4090
recode protestonly 0=1 if caseID==4104
recode protestonly 0=1 if caseID==4107
recode protestonly 0=1 if caseID==4127
recode protestonly 0=1 if caseID==4132
recode protestonly 0=1 if caseID==4145
recode protestonly 0=1 if caseID==4148
recode protestonly 0=1 if caseID==4149
recode protestonly 0=1 if caseID==4155
recode protestonly 0=1 if caseID==4169
recode protestonly 0=1 if caseID==4172
recode protestonly 0=1 if caseID==4174
recode protestonly 0=1 if caseID==4179
recode protestonly 0=1 if caseID==4183
recode protestonly 0=1 if caseID==4196
recode protestonly 0=1 if caseID==4200
recode protestonly 0=1 if caseID==4208
recode protestonly 0=1 if caseID==4214
recode protestonly 0=1 if caseID==4219
recode protestonly 0=1 if caseID==4222
recode protestonly 0=1 if caseID==4243
recode protestonly 0=1 if caseID==4262
recode protestonly 0=1 if caseID==4263
recode protestonly 0=1 if caseID==4287
recode protestonly 0=1 if caseID==4292
recode protestonly 0=1 if caseID==4296
recode protestonly 0=1 if caseID==4297
recode protestonly 0=1 if caseID==4321
